<?php

namespace App\Http\Controllers\App;

use App\Http\Controllers\Controller;

class LogoutController extends Controller {
    public function __invoke() {
        request()->session()->flush();
        return redirect()->route('user.login');
    }
}
